package com.zhb.service;

import com.zhb.beans.SourcesPhoto;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;


public interface SourcesPhotoService {
    void upLoadFile(MultipartFile upload);

    void save(MultipartFile file, SourcesPhoto sourcesPhoto);

    void saveImg(MultipartFile file, SourcesPhoto sourcesPhoto);

    /**
     * 查看所有图片
     */
    List<SourcesPhoto> getImgList();

    boolean selectPohtoByName(String imgName);

    List<SourcesPhoto> pageQuery(Map<String, Object> map);

    int pageQueryCount(Map<String, Object> map);
}
